-
Notifications
You must be signed in to change notification settings - Fork 121
Add ApiOperation component #416
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add ApiOperation component #416
Conversation
Add ApiOperation component to import and display the definitions of API operations within your Docusaurus docs
🦋 Changeset detectedLatest commit: 58d3c03 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
@svenkonings is attempting to deploy a commit to the Rohit Gohri's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
||
The `pointer` prop is passed on to [Redoc](https://redoc.ly/docs/resources/ref-guide/#pointer). | ||
|
||
Note that `/` is escaped as `~1`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a Redoc convention?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Redoc uses the JSON pointer syntax for referring to values within the schema, and JSON pointer escapes /
as ~1
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -0,0 +1,96 @@ | |||
--- | |||
title: Operation Imports | |||
sidebar_position: 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sidebar_position: 2 | |
sidebar_position: 1.5 |
Using a floating value, you do not have to edit other pages
Add ApiOperation component to import and display the definitions of API operations within your Docusaurus docs.
I've also added examples to the guide